﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccessComponents
{
    /// <summary>
    /// Klasa odzwierciedlajaca tebele Galeria_Zdjecie w bazie danych
    /// </summary>
    public class Galeria_Zdjecia
    {
        /// <summary>
        /// Id galeria
        /// </summary>
        private int id_galeria;

        public int Id_galeria
        {
            get { return this.id_galeria; }
            set { this.id_galeria = value; }
        }

        /// <summary>
        /// id zdjecia
        /// </summary>
        private int id_zdjecia;

        public int Id_zdjecia
        {
            get { return this.id_zdjecia; }
            set { this.id_zdjecia = value; }
        }

        
        /// <summary>
        /// Konstruktor tworzący obiekt Hotel
        /// </summary>        
        /// <param name="ig">Id galeri</param>
        /// <param name="iz">Id zdjecia</param>
        
        public Galeria_Zdjecia(int ig, int iz)
        {
            this.id_galeria = ig;
            this.id_zdjecia = iz;
        }

        public Galeria_Zdjecia()
            : this(0, 0)
        { }
    }
}
